﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Forms;
using GameLibrary.Model;
using WeifenLuo.WinFormsUI.Docking;
using GameControls;

namespace GameDesigner2
{
    public partial class TreeForm : DockContent
    {
        public TreeForm()
        {
            InitializeComponent();
            
            ActiveGame.GameChangedEvent += delegate(GameDisplayer game) 
            {
                this.gameTreeControl1.GameDisplayer = game;
            };
        }

    }
}
